import 'package:get/get.dart';
import 'package:laos_mall/common/style/extension_util.dart';

class PayLogic extends GetxController {
  var payTypes= <LabelValue>[].obs;
  final imageNames = ['ic_o','ic_zhifubao','ic_weixin','ic_wallet','ic_bank','ic_pp'];
  @override
  void onInit() {
     payTypes.value = ["bcel_one", "ali_pay", "wechat_pay", "membership_balance", "credit_card", "paypal"].asMap().entries.map((entry) => LabelValue(label: entry.value.tr, value: entry.value,checked: entry.key == 0 ? true: false)).toList();
     payTypes[3].defaultValue = false;
    super.onInit();
  }
}
